package cn.xm.dictionary.service.impl;

import cn.xm.basic.service.impl.BaseServiceImpl;
import cn.xm.dictionary.domain.SystemDictionaryDetail;
import cn.xm.dictionary.mapper.SystemDictionaryDetailMapper;
import cn.xm.dictionary.service.SystemDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemDictionaryDetailServiceImpl extends BaseServiceImpl<SystemDictionaryDetail> implements SystemDictionaryDetailService {
    @Autowired
    private SystemDictionaryDetailMapper systemDictionaryDetailMapper;


    @Override
    public List<SystemDictionaryDetail> findByTypeId(Long typeId) {
        return systemDictionaryDetailMapper.findByTypeId(typeId);
    }
}
